<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>中标结果</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/lib/layui/css/layui.css">
    <link rel="stylesheet" href="/static/css/weadmin.css">
    <script type="text/javascript" src="/templates/act/process-xl.js"></script>
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
    <style>
        body {
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
            padding: 20px 30px;
        }
        p {
            text-indent: 25px
        }

        h3 {
            font-weight: bold;
            display: inline;
        }
        .offer{
            display: inline;
            margin-left: 5%;
        }
        .title {
            margin-bottom: 20px;
        }

        .layui-table th {
            text-align: center;
        }

        table {
            text-align: center;
        }
    </style>
</head>
<body>
<div class="title">
    <h3>项目名称:</h3>
    <h3 id="prjName"></h3>
</div>
<table class="layui-table" lay-filter="example2">
    <colgroup>
        <col>
        <col>
        <col>
    </colgroup>
    <thead>
    <tr>
        <th>审图机构</th>
        <th>报价</th>
        <th>报价时间</th>
        <th>状态</th>
    </tr>
    </thead>
    <tbody class="tbodyHtml">

    </tbody>
</table>
<!--
<table class="layui-hide" id="dataList" lay-filter="dataList"></table>
-->

<script type="text/javascript" src="/lib/layui/layui.js"></script>
<script src="/static/js/main.js"></script>
<script>
    var configureCom = {};
    layui.use(['jquery', 'configureCom', 'configure', 'sessionFun', 'table', 'matchDict'], function () {
        var $ = layui.jquery;
        var configure = layui.configure;
        var table = layui.table;
        var sessionFun = layui.sessionFun;
        var configureCom = layui.configureCom;
        var matchDict = layui.matchDict;
        configureCom = layui.configureCom;

        var listData = sessionFun.get(configure.SESSION_PROJECT_LIST_DATA);//获取 存储的session
        var decId = listData.decId;
        nextAll={
            decId:decId
        };
        $.each(listData, function (index , value) {
            $('#'+index).html(value);
        });
        var html='';
        configureCom.postDataAjax(configure.EXAMINE_PRICE_SELECTED_RESULT_HTTP,nextAll).then(function(res){
            console.log(res.list)
            $(res.list).each(function (index,item) {
                html =
                    ' <tr>\n' +
                    '        <td>'+item.checkOrgName+'</td>\n' +
                    '        <td>施工审查费用：'+(item.sjCost || '-')+'<br>勘察审查费用:'+(item.kcCost || '-')+'</td>\n' +
                    '        <td>'+item.createTime+'</td>\n' +
                    '        <td name="selectStatus" lay-verify="isEmpty" id="selectStatus">'+ matchDict.name(item.selectStatus,'PRICE_STATUS2')+'</td>\n' +
                    ' </tr>';
                $('.tbodyHtml').append(html)
            })

        });



    });
</script>
</body>
</html>